package com.cn.wanxi.util.dao.impl;

import com.cn.wanxi.util.dao.INewsDao;
import com.cn.wanxi.util.model.NewsModel;

import java.util.ArrayList;
import java.util.List;

public class NewsDao implements INewsDao {
    @Override
    public List<NewsModel> newsmodel() {
        List<NewsModel> newsModelList =new ArrayList<>();
        NewsModel news1 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=121","教育部:教师大交流遏止“择校热”","教师的待逊如何提升?学生何时不再为“择和”而择校?教耐效如何正确地批评学生?我国教师索质如何满足人民受教育需求.....");
        NewsModel news2 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=120","清明怀古百名学龄儿童身着汉服齐聚孔庙祭师","清明怀古，尤念先人。昨日清晨，近百名学龄儿童齐聚孔庙国子监内，身着汉服，在老师的带领下，祭扫先人。为孔子像扫");
        NewsModel news3 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=119","中南财经政法大学今年起取消公费研究生","中南财经政法大学从今年开始实行研究生培养机制改革，取消公费指标制度，实行奖学金制度。该校规定，学术型和全日制");
        NewsModel news4 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=118","教育部和四总部下发意见要求加强国防生训练","教育部和四总部近日下发《关于加强国防生军政训练和任职培训工作的实施意见》，对国防生在校军政训练、基地化集中训练、当兵锻炼");
        NewsModel news5 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=117","共青团学校战线基层试点工作推进会召开","共青团学校战线基层试点工作推进会暨2010年工作会议召开1月26日至27日，共青团学校战线基层试点工作推进会");
        NewsModel news6 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=116","俞敏洪:善于停止也是一种幸福","俞敏洪没有吃午餐，这种现象已经司空见惯。在他看来，饥饿之后饱餐带来的幸福感，远远超过餐餐正点。");
        NewsModel news7 = new NewsModel("19","2022-2","https://school-334.view.sitestar.cn/page97?article_id=115","清明怀古百名学龄儿童身着汉服齐聚孔庙祭师","清明怀古，尤念先人。昨日清晨，近百名学龄儿童齐聚孔庙国子监内，身着汉服，在老师的带领下，祭扫先人。为孔子像扫");
        newsModelList.add(news1);
        newsModelList.add(news2);
        newsModelList.add(news3);
        newsModelList.add(news4);
        newsModelList.add(news5);
        newsModelList.add(news6);
        newsModelList.add(news7);
        return newsModelList;
    }
}
